Closed jasonjb82 closed 10 years ago
Hi,
Are you using the 0.43 version (recently published at CRAN)? I have checked your code and it works correctly with it.
Oscar.
Yes Oscar. Version 0.43 installed directly through R Studio. Please see my session info below
R version 3.1.1 (2014-07-10) Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages: [1] grid stats graphics grDevices utils datasets methods base
other attached packages:
[1] rasterVis_0.31 hexbin_1.27.0 latticeExtra_0.6-26 RColorBrewer_1.0-5
[5] lattice_0.20-29 meteoForecast_0.43 zoo_1.7-11 weatherData_0.4.3
[9] meteogRam_1.0 RadioSonde_1.4 MODIS_0.10-17 MODISTools_0.94.4
[13] scales_0.2.4 ncdf4_1.12 rgdal_0.9-1 plyr_1.8.1
[17] reshape_0.8.5 ggplot2_1.0.0 mapdata_2.2-3 maps_2.3-9
[21] ncdf_1.6.8 RNetCDF_1.6.3-1 raster_2.3-12 sp_1.0-15
loaded via a namespace (and not attached):
[1] colorspace_1.2-4 digest_0.6.4 gtable_0.1.2 labeling_0.3 MASS_7.3-33
[6] munsell_0.4.2 proto_0.3-10 Rcpp_0.11.3 RCurl_1.95-4.3 reshape2_1.4
[11] rjson_0.2.14 stringr_0.6.2 tools_3.1.1 XML_3.98-1.1
Ok. I don't know why you get that error. I will think about it.
Hi again,
I have just checked it in RStudio. Again it works correctly. Could you test it without RStudio and without any additional loaded packages? For example using R --vanilla
.
Still no luck, Oscar.
Ok. I think I got it. Please try these lines:
do.call(data, list('varsGFS'))
do.call("data", list('varsGFS'))
If I am not wrong, the first line should give you the same error and the second line should work. Then this should work:
rm('data')
grepVar('temp', service = 'gfs', complete = TRUE)
Thanks Oscar!
Hi Oscar,
When I run the following line -
grepVar('temp', service = 'gfs', complete = TRUE)
I keep getting the error below.
Error in do.call(data, list(varsFile)) : 'what' must be a character string or a function