[vtkusers] can not find some function of R when use R integrated in vtk

Wes Turner wes.turner at kitware.com
Mon Feb 28 09:52:55 EST 2011


Do you have the R_HOME variable set to the results of executing "R RHOME"?

- Wes

On Fri, Feb 25, 2011 at 4:49 PM, Li, Wen <wen-li at uiowa.edu> wrote:

> Hi, all
>
>
>
> We have been trying to use R in vtk to do some statistic analysis for
> surfaces.
>
>
>
> The program was running perfectly when we simply used functions like “mean”
> and “sum” in our R script.
>
>
>
> But when we try to use other functions like “read.csv()”, it complains that
> this function can not be found.
>
>
>
> And we see the errors like,
>
>
>
>
> --------------------------------------------------------------------------------------------
>
> Error in identical(env, as.environment(i)) :
>
>   5 arguments passed to .Internal(identical) which requires 2
>
> Error in file(paste(tempdir(), "/Routput.txt", sep = ""), open = "wt+") :
>
>   5 arguments passed to .Internal(file) which requires 4
>
> Error in identical(arg, choices) :
>
>   5 arguments passed to .Internal(identical) which requires 2
>
>
> -----------------------------------------------------------------------------------------------
>
>
>
> Any help or suggestion to solve this problem will be appreciated.
>
>
>
> Thank you in advance.
>
>
>
> Wen Li
>
> The University of Iowa
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>


-- 
Wesley D. Turner, Ph.D.
Kitware, Inc.
Technical Leader
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4920
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110228/b4abc198/attachment.htm>


More information about the vtkusers mailing list