[R] Where is gdata?
Spencer Graves
spencer.graves at structuremonitoring.com
Sun Nov 28 16:40:42 CET 2010
Hi, Greg, Stephen, Liviu:
I tried "install.packages('gregmisc')", which Stephen said he
had. Then " help(pac=gdata)" seemed to work normally. However, when I
then tried "library(gdata)", I got an error message from the the
operating system, saying "perl.exe has stopped working". I cancelled
past that and got a message "gdata: Unable to load perl libaries needed
by read.xls() ... Run the function 'installXLSXsupport()'". I tried
'installXLSXsupport()' and again perl stopped working. I quit R and
tried "install.packages('gdata')" again, and it killed perl again.
Before installing 'gregmisc', I had tried
install.packages('gdata') by itself. That seemed to work. Then I
manually removed it and tried 'gregmisc', as Stephen had, and got
problems I don't know how to solve.
???
Thanks,
Spencer
##############################
> library(gdata)
gdata: Unable to load perl libaries needed by read.xls()
gdata: to support 'XLX' (Excel 97-2004) files.
gdata: Unable to load perl libaries needed by read.xls()
gdata: to support 'XLSX' (Excel 2007+) files.
gdata: Run the function 'installXLSXsupport()'
gdata: to automatically download and install the perl
gdata: libaries needed to support Excel XLS and XLSX formats.
####################################
> sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: i386-pc-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] gdata_2.8.1
loaded via a namespace (and not attached):
[1] gtools_2.6.2 tools_2.12.0
#############################################
On 11/28/2010 4:22 AM, Liviu Andronic wrote:
> On Sun, Nov 28, 2010 at 12:44 PM, Stephen Liu<satimis at yahoo.com> wrote:
>>> library(gdata)
>>> gdata
>> Error: object 'gdata' not found
>>
>>> gdata()
>> Error: could not find function "gdata"
>>
>>
>> Please advise what mistake I have committed. TIA
>>
> Try
> help(package=gdata)
>
> Regards
> Liviu
>
>
>> B.R.
>> Stephen L
>>
>>
>>
>> [[alternative HTML version deleted]]
>>
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>
>
--
Spencer Graves, PE, PhD
President and Chief Operating Officer
Structure Inspection and Monitoring, Inc.
751 Emerson Ct.
San José, CA 95126
ph: 408-655-4567
More information about the R-help
mailing list