Opened 10 years ago
Closed 4 years ago
#413 closed enhancement (fixed)
add "Windows batchfiles for use with R" to OSGeo4W
| Reported by: | hellik | Owned by: | |
|---|---|---|---|
| Priority: | major | Component: | Package |
| Version: | Keywords: | R | |
| Cc: |
Description
hi,
there are some nice simple windows-bat files [1] [2] to start R (www.r-project.org) from everywhere if these bat-files are in %PATH%
tested here locally with following example
(A)
batch files are in e.g.
C:\OSGeo4W\apps\r-batchfiles
(B)
added a bat-file in
C:\OSGeo4W\etc\ini\r-project.bat
with a onliner to add (A) to the path
PATH %PATH%;%OSGEO4W_ROOT%\apps\r-batchfiles
then R is availabe in the OSGeo4W-shell/OSGeo4W-windows command shell and can be started e.g. within a winGRASS-session.
as these R-batch-files recognizes R 32bit/R 64bit, it may be included in OSGeo4W 32bit and 64bit.
the license is GNU GPL v2.
it would be a really added value for OSGeo4W, as R is often used in GIS workflows/analyses and the OSGeo4W-R-integration would be enabled in an easy way.
would it be possible these files into OSGeo4W?
thanks Helmut
[1] https://code.google.com/p/batchfiles/ [2] http://cran.r-project.org/contrib/extra/batchfiles/
Attachments (5)
Change History (42)
follow-up: 2 comment:1 by , 10 years ago
by , 10 years ago
| Attachment: | Windows_batchfiles_for_use_with_R_svn_rev144.zip added |
|---|
batchfiles (svn revision 144)
follow-up: 3 comment:2 by , 10 years ago
Replying to hellik:
functionality would be
R cd - cd to R_ROOT, typically to C:\Program Files\R (0) R cmd - Run Rcmd.exe R dir - List contents of R_ROOT in chronological order showing R versions (0) R gui - Run Rgui.exe R help - Help info (0) R path - Add R_TOOLS, R_MIKTEX & R_PATH to path for this cmd line session (0) R Run R.exe (0) R script - Run Rscript.exe R show - Show R_ variable values used. R_PATH, etc. (0) R SetReg - Run RSetReg; see 2.17 in R FAQ for Windows (A) R tools - Add R_TOOLS and R_MIKTEX to path for this cmd line session (0) R touch - Change date on R_HOME to now (0) (A)
batchfiles added (source: fresh svn checkout from http://batchfiles.googlecode.com/svn/trunk/)
the license is GNU GPL v2.
any chance to add these helpful files in OSGeo4W? what would be the next steps to do?
Helmut
follow-up: 4 comment:3 by , 10 years ago
Replying to hellik:
any chance to add these helpful files in OSGeo4W? what would be the next steps to do?
any opinion? any objections? any discussion? any suggested steps how to proceed?
locally added C:\OSGeo4W\etc\ini\rbatchfiles.bat
SET PATH=%PATH%;%OSGEO4W_ROOT%\apps\rbatchfiles
in the OSGeo4W-command line:
OSGEO4W home is C:\OSGeo4W\
-={ OSGeo4W Shell Commands }=-
apt-r1193M las2txt-old rpcgen
avcexport las2txt rpcinfo
avcimport lasblock SFXWiz32
bc lasinfo-old tclsh
bmp2tiff lasinfo tclsh85
cs2cs lasmerge testepsg
curl listgeo textreplace
dc nad2bin thumbnail
dllupdate ncdump tiff2bw
fax2ps ncgen tiff2pdf
fax2tiff nearblack tiff2ps
funzip nircmd tiff2rgba
gdaladdo nircmdc tiffcmp
gdalbuildvrt ogdi_import tiffcp
gdaldem ogdi_info tiffcrop
gdalenhance ogr2ogr tiffdither
gdalinfo ogrinfo tiffdump
gdallocationinfo ogrlineref tiffinfo
gdalmanage ogrtindex tiffmedian
gdalserver opj_compress tiffset
gdalsrsinfo opj_decompress tiffsplit
gdaltindex opj_dump ts2las
gdaltransform osgeo4w-setup-work txt2las
gdalwarp osgeo4w-setup unzip
gdal_contour pal2rgb unzipsfx
gdal_grid portmap uzexampl
gdal_rasterize ppm2tiff w9xpopen
gdal_translate proj wish
geod psql wish85
geotifcp pylupdate4 xmlcatalog
gif2tiff pyrcc4 xmllint
gltpd python xxmklink
GPSBabel pythonw zip
gswin32c qgis-bin zipcloak
iconv qgis-browser-bin zipinfo
las2las-old ras2tiff zipnote
las2las raw2tiff zipsplit
las2ogr rgb2ycbcr
apt-dev gdal_edit o4w_env
apt gdal_fillnodata pct2rgb
epsg_tr gdal_merge ps2pdf
esri2wkt gdal_polygonize ps2pdf12
gcps2vec gdal_proximity ps2pdf13
gcps2wld gdal_retile ps2pdf14
gdal2tiles gdal_sieve ps2pdfxx
gdal2xyz grass64 pyuic4
gdalchksum grass64svn qgis-browser
gdalcompare grass71svn qgis
gdalident gssetgs rgb2pct
gdalimport liblas setup-test
gdalmove make-bat-for-py setup
gdal_auth mkgraticule
gdal_calc o-help
GDAL 1.11.0, released 2014/04/16
C:\>R
R version 3.0.3 (2014-03-06) -- "Warm Puppy"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R ist freie Software und kommt OHNE JEGLICHE GARANTIE.
Sie sind eingeladen, es unter bestimmten Bedingungen weiter zu verbreiten.
Tippen Sie 'license()' or 'licence()' für Details dazu.
R ist ein Gemeinschaftsprojekt mit vielen Beitragenden.
Tippen Sie 'contributors()' für mehr Information und 'citation()',
um zu erfahren, wie R oder R packages in Publikationen zitiert werden können.
Tippen Sie 'demo()' für einige Demos, 'help()' für on-line Hilfe, oder
'help.start()' für eine HTML Browserschnittstelle zur Hilfe.
Tippen Sie 'q()', um R zu verlassen.
> q()
Workspace sichern? [y/n/c]: n
C:\>
everything works without any problem.
follow-up: 5 comment:4 by , 10 years ago
follow-ups: 6 7 comment:5 by , 9 years ago
Replying to jef:
Replying to hellik:
any suggested steps how to proceed?
following the packaging instructions I've prepared the setup.hint and the tar.gz2-file.
the folder and file structure is:
r-batchfiles-r149.tar
|
apps
|
rbatchfiles:
R.bat
....
|
etc
|
ini:
rbatchfiles.bat
anyone to check if the file/folder structure is correct?
thanks
comment:6 by , 9 years ago
follow-up: 8 comment:7 by , 9 years ago
Replying to hellik:
Replying to jef:
Replying to hellik:
any suggested steps how to proceed?
following the packaging instructions I've prepared the setup.hint and the tar.gz2-file.
the folder and file structure is:
r-batchfiles-r149.tar | apps | rbatchfiles: R.bat .... | etc | ini: rbatchfiles.batanyone to check if the file/folder structure is correct?
thanks
no one interested in an OSGeo4W-R-integration?
it is nicely working in WinGRASS7-standalone based upon OSGeo4W and the attached files...
comment:8 by , 9 years ago
Replying to hellik:
Replying to hellik:
Replying to jef:
Replying to hellik:
any suggested steps how to proceed?
following the packaging instructions I've prepared the setup.hint and the tar.gz2-file.
the folder and file structure is:
r-batchfiles-r149.tar | apps | rbatchfiles: R.bat .... | etc | ini: rbatchfiles.batanyone to check if the file/folder structure is correct?
thanks
no one interested in an OSGeo4W-R-integration?
it is nicely working in WinGRASS7-standalone based upon OSGeo4W and the attached files...
new year, new try: it would be nice to have this in osgeo4w.
I would be available to maintain this. any hint what to do?
follow-up: 10 comment:9 by , 9 years ago
Do you need the batchfiles in apps instead of bin? R_ARCH is also hardcoded to x64 in Rpathset.bat. Is that correct?
comment:10 by , 9 years ago
Replying to jef:
Do you need the batchfiles in apps instead of bin?
R_ARCHis also hardcoded tox64inRpathset.bat. Is that correct?
Rpathset.bat isn't needed. so no hardcoded paths. also the batchfiles can live in apps.
what I've done locally in osgeo4w 32bit and 64bit by using R path - Add R_TOOLS, R_MIKTEX & R_PATH to path for this cmd line session (options see above); eg.
my osgeo4w 64 bit lives in C:\OSGeo4W64, added the batch-files to C:\OSGeo4W64\apps\rbatch; and added in ini:
C:\OSGeo4W64\etc\ini\rosgeo.bat IF EXIST "%ProgramFiles%\R\" %OSGEO4W_ROOT%\apps\rbatch\R path
open the osgeo4w shell:
[...]
GDAL 1.11.3, released 2015/09/16
C:\>echo %PATH%
{app};C:\OSGEO4~1\apps\Python27\Scripts;C:\OSGEO4~1\bin;C:\windows\system32;C:\w
indows;C:\windows\WBem;C:\OSGEO4~1\apps\msys\bin;C:\Program Files\R\R-3.2.3\bin\
x64
C:\>R
R version 3.2.3 (2015-12-10) -- "Wooden Christmas-Tree"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R ist freie Software und kommt OHNE JEGLICHE GARANTIE.
Sie sind eingeladen, es unter bestimmten Bedingungen weiter zu verbreiten.
Tippen Sie 'license()' or 'licence()' für Details dazu.
R ist ein Gemeinschaftsprojekt mit vielen Beitragenden.
Tippen Sie 'contributors()' für mehr Information und 'citation()',
um zu erfahren, wie R oder R packages in Publikationen zitiert werden können.
Tippen Sie 'demo()' für einige Demos, 'help()' für on-line Hilfe, oder
'help.start()' für eine HTML Browserschnittstelle zur Hilfe.
Tippen Sie 'q()', um R zu verlassen.
> q()
Workspace sichern? [y/n/c]: n
C:\>
using the option R path - Add R_TOOLS, R_MIKTEX & R_PATH to path for this cmd line session is more robust than
SET PATH=%PATH%;%OSGEO4W_ROOT%\apps\rbatchfiles
as mentioned above.
I'll provide a new package accordingly.
by , 9 years ago
| Attachment: | r-batchfiles-r149.tar.2.bz2 added |
|---|
follow-up: 13 comment:11 by , 9 years ago
I'd prefer if the callable batchfiles (r.bat?) would live in bin to avoid the extra ini batch file. Would that be a problem?
Also the package naming is package-upstreamversion-packageversion.tar.bz2 (eg. r-batchfiles-r149-2.tar.bz2).
Otherwise it looks ok AFAICT - feel free to upload.
follow-ups: 14 16 comment:12 by , 9 years ago
I meant to the repository - but the latest package is broken as all files are prefixed with r-batchfiles-r149-2.
And the ini batch is still there - does that mean it is a problem to avoid it?
follow-up: 15 comment:13 by , 9 years ago
Replying to jef:
I'd prefer if the callable batchfiles (
r.bat?) would live inbinto avoid the extra ini batch file. Would that be a problem?
never tried it this way. wouldn't we loose the possibility to update?
Also the package naming is package-upstreamversion-packageversion.tar.bz2 (eg.
r-batchfiles-r149-2.tar.bz2).
changed, hopefully now the right way ... :-)
Otherwise it looks ok AFAICT - feel free to upload.
never done this for myself.
comment:14 by , 9 years ago
Replying to jef:
I meant to the repository - but the latest package is broken as all files are prefixed with
r-batchfiles-r149-2.
hopefully fixed now.
And the ini batch is still there - does that mean it is a problem to avoid it?
see also comment before. how would it be possible to update if it lives in e.g. C:\OSGeo4W64\bin ?
comment:15 by , 9 years ago
Replying to hellik:
Replying to jef:
I'd prefer if the callable batchfiles (
r.bat?) would live inbinto avoid the extra ini batch file. Would that be a problem?never tried it this way. wouldn't we loose the possibility to update?
Also the package naming is package-upstreamversion-packageversion.tar.bz2 (eg.
r-batchfiles-r149-2.tar.bz2).changed, hopefully now the right way ... :-)
package now created by tar & bzip2 from osgeo4w's msys (see PackagingInstructions. all other packages produced by 7zip.
follow-up: 17 comment:16 by , 9 years ago
Replying to jef:
I meant to the repository - but the latest package is broken as all files are prefixed with
r-batchfiles-r149-2.And the ini batch is still there - does that mean it is a problem to avoid it?
what is the problem to have it another ini-file?
follow-ups: 18 19 comment:17 by , 9 years ago
Replying to hellik:
what is the problem to have it another ini-file?
Another directory in PATH for no obvious reason?
follow-up: 20 comment:18 by , 9 years ago
Replying to jef:
Replying to hellik:
what is the problem to have it another ini-file?
Another directory in PATH for no obvious reason?
IF EXIST "%ProgramFiles%\R\" %OSGEO4W_ROOT%\apps\rbatch\R path
it would be only set if R is installed (and the user activated the R package in osgeo4w); otherwise not.
I've tested very quickly to copy R.bat to C:\OSGeo4W64\bin, it seems to work.
comment:19 by , 9 years ago
follow-up: 21 comment:20 by , 9 years ago
Replying to hellik:
IF EXIST "%ProgramFiles%\R\" %OSGEO4W_ROOT%\apps\rbatch\R path
I meant the path added by the ini batch file. It always adds apps\rbatchfiles to the path - so everything has to search another path - not only if R being used (or installed).
follow-up: 22 comment:21 by , 9 years ago
Replying to jef:
Replying to hellik:
IF EXIST "%ProgramFiles%\R\" %OSGEO4W_ROOT%\apps\rbatch\R pathI meant the path added by the ini batch file. It always adds
apps\rbatchfilesto the path - so everything has to search another path - not only if R being used (or installed).
don't understand this. where is apps\rbatchfiles added to the path?
in the OSGeo4W shell:
C:\>echo %PATH%
{app};C:\OSGEO4~1\apps\Python27\Scripts;C:\OSGEO4~1\bin;C:\windows\system32;C:\w
indows;C:\windows\WBem;C:\OSGEO4~1\apps\msys\bin;C:\Program Files\R\R-3.2.3\bin\
x64
only the R installation path is added to %PATH%, nothing else.
if it's too much, let's go the way to copy R.bat to bin
follow-up: 23 comment:22 by , 9 years ago
Replying to hellik:
I meant the path added by the ini batch file. It always adds
apps\rbatchfilesto the path - so everything has to search another path - not only if R being used (or installed).don't understand this. where is
apps\rbatchfilesadded to the path?
$ tar xOjf r-batchfiles-r149.tar.bz2 etc/ini/rbatchfiles.bat SET PATH=%PATH%;%OSGEO4W_ROOT%\apps\rbatchfiles
follow-up: 24 comment:23 by , 9 years ago
Replying to jef:
Replying to hellik:
I meant the path added by the ini batch file. It always adds
apps\rbatchfilesto the path - so everything has to search another path - not only if R being used (or installed).don't understand this. where is
apps\rbatchfilesadded to the path?$ tar xOjf r-batchfiles-r149.tar.bz2 etc/ini/rbatchfiles.bat SET PATH=%PATH%;%OSGEO4W_ROOT%\apps\rbatchfiles
but I've changed that in r-batchfiles-r149-2.tar.bz2 to
C:\r-batchfiles\etc\ini\rbatchfiles.bat IF EXIST "%ProgramFiles%\R\" %OSGEO4W_ROOT%\apps\rbatchfiles\R path
in order to avoid this.
follow-up: 25 comment:24 by , 9 years ago
Replying to hellik:
Replying to jef:
Replying to hellik:
I meant the path added by the ini batch file. It always adds
apps\rbatchfilesto the path - so everything has to search another path - not only if R being used (or installed).don't understand this. where is
apps\rbatchfilesadded to the path?$ tar xOjf r-batchfiles-r149.tar.bz2 etc/ini/rbatchfiles.bat SET PATH=%PATH%;%OSGEO4W_ROOT%\apps\rbatchfilesbut I've changed that in r-batchfiles-r149-2.tar.bz2 to
C:\r-batchfiles\etc\ini\rbatchfiles.bat IF EXIST "%ProgramFiles%\R\" %OSGEO4W_ROOT%\apps\rbatchfiles\R pathin order to avoid this.
as the rgrass7 package (R-GRASS interaction) will upcome with a new version including improvements for winGRASS-R coupling (see (1)), it would be nice to have this in.
r-batchfiles-r149-2.tar.bz2 doesn't poison unnecessarily %PATH%, it only adds R-installation path to %PATH% if R is installed.
what next to do? I have no access to OSGeo4W repository.
follow-up: 26 comment:25 by , 9 years ago
Replying to hellik:
what next to do? I have no access to OSGeo4W repository.
Upload. You have access.
follow-up: 27 comment:26 by , 9 years ago
Replying to jef:
Replying to hellik:
what next to do? I have no access to OSGeo4W repository.
Upload. You have access.
PackageDirectoryLayout says:
Packages prepared for OSGeo4W are currently uploaded to (requires shell access to OSGeo download server):
upload.osgeo.org:/osgeo/download/osgeo4w/release/<arch>/<package>
and Download_Server says:
FTP Service
There is FTP service configured on the download.osgeo.org blade. The FTP access is served by vsftpd - secure and fastest FTP server for UNIX-like systems.
The vsftpd daemon configuration is the default one provided with Debian and is suitable for anonymous ftp only.
root directory: /osgeo/download
no access for local users
no write, mkdir or upload privileges
Management It is intended that each interested project should have a directory under /osgeo/download with appropriate permissions so a project member can manage the subdirectories and files. Scp, or sftp can be used to bring files onto the server. Someone from each project will need their LDAP OSGeo Userid shell enabled, for ssh/scp access.
how to get shell access to OSGeo download server? is ny osgeoid already activated?
follow-ups: 28 29 comment:27 by , 9 years ago
Replying to hellik:
how to get shell access to OSGeo download server? is ny osgeoid already activated?
Yes. That was "You have access" was supposed to mean. I use scp (or rsync) from cygwin to upload stuff via ssh.
comment:28 by , 9 years ago
follow-up: 30 comment:29 by , 8 years ago
Replying to jef:
Replying to hellik:
how to get shell access to OSGeo download server? is ny osgeoid already activated?
Yes. That was "You have access" was supposed to mean. I use
scp(orrsync) from cygwin to upload stuff viassh.
after some more time of local testing, I've uploaded it now; it can bee seen at
http://download.osgeo.org/osgeo4w/x86/release/rbatch/ http://download.osgeo.org/osgeo4w/x86_64/release/rbatch/
as mentioned in the wiki:
Generate test versions of setup.ini: http://upload.osgeo.org/cgi-bin/osgeo4w-regen.sh
Verify package version numbers (see top of PackageListing)
Test by invoking setup-test.bat in the OSGeo4W shell
Promote test setup to live: http://upload.osgeo.org/cgi-bin/osgeo4w-promote.sh
I couldn't find upload.osgeo.org/cgi-bin/osgeo4w-regen.sh to test if structure and versioning is ok; there is only regen.sh and promote_test.sh on the osgeo4w folder on the server.
any hints?
follow-up: 31 comment:30 by , 8 years ago
follow-up: 32 comment:31 by , 8 years ago
follow-up: 33 comment:32 by , 8 years ago
Replying to hellik:
Replying to jef:
Replying to hellik:
any hints?
Access the url using a browser.
ok thanks, done.
the output of osgeo4w-promote.sh
--- setup.ini.prev 2016-12-12 10:12:31.000000000 -0800 +++ setup.ini 2016-12-12 10:12:31.000000000 -0800 @@ -3,7 +3,7 @@ # See http://cygwin.com/setup.html for details. # arch: x86 -setup-timestamp: 1481530023 +setup-timestamp: 1481566157 @ agg-devel sdesc: "AGG rendering library (development)" @@ -2875,6 +2875,12 @@ install: x86/release/qt/qt4/qwt-libs-qt4/qwt-libs-qt4-6.0.2-1.tar.bz2 306829 2a8cbc63a581882b5db9010d1bbecd7e source: x86/release/qt/qt4/qwt-libs-qt4/qwt-libs-qt4-6.0.2-1-src.tar.bz2 2197 4eae9be815016415611fd0b176443352 +@ rbatch +sdesc: "Windows batchfiles for use with R" +ldesc: "Windows batchfiles for use with R" +category: Libs Commandline_Utilities +version: r149 + @ regex-devel sdesc: "Regex libaray (source/header) (development)" ldesc: "Regex libaray (source/header) (development)"
--- setup.ini.prev 2016-12-12 10:12:31.000000000 -0800 +++ setup.ini 2016-12-12 10:12:31.000000000 -0800 @@ -3,7 +3,7 @@ # See http://cygwin.com/setup.html for details. # arch: x86_64 -setup-timestamp: 1481530024 +setup-timestamp: 1481566159 @ alkis-import sdesc: "norGIS ALKIS Import" @@ -2141,6 +2141,12 @@ install: x86_64/release/qwt5/qwt5-libs-qt4/qwt5-libs-qt4-5.2.3-1.tar.bz2 261328 4a732090f019931026aa4fe478670ebd source: x86_64/release/qwt5/qwt5-libs-qt4/qwt5-libs-qt4-5.2.3-1-src.tar.bz2 3211 5259de566c37bf132c7a60783af575cf +@ rbatch +sdesc: "Windows batchfiles for use with R" +ldesc: "Windows batchfiles for use with R" +category: Libs Commandline_Utilities +version: r149 + @ regex-devel sdesc: "XDR library (Development)" ldesc: "XDR library (Development)"
it seems now to be in setup.ini; anything else to do that it is promoted to be downloadable.
follow-up: 34 comment:33 by , 8 years ago
Replying to hellik:
it seems now to be in setup.ini; anything else to do that it is promoted to be downloadable.
http://download.osgeo.org/osgeo4w/x86_64/setup.ini
@ qwt5-libs-qt4 sdesc: "Qt4 widgets library for technical applications (runtime)" ldesc: "Qt4 widgets library for technical applications (runtime)" category: Libs requires: shell qt4-libs version: 5.2.3-1 install: x86_64/release/qwt5/qwt5-libs-qt4/qwt5-libs-qt4-5.2.3-1.tar.bz2 261328 4a732090f019931026aa4fe478670ebd source: x86_64/release/qwt5/qwt5-libs-qt4/qwt5-libs-qt4-5.2.3-1-src.tar.bz2 3211 5259de566c37bf132c7a60783af575cf @ rbatch sdesc: "Windows batchfiles for use with R" ldesc: "Windows batchfiles for use with R" category: Libs Commandline_Utilities version: r149 @ regex-devel sdesc: "XDR library (Development)" ldesc: "XDR library (Development)" category: Libs version: 0.12-1 install: x86_64/release/regex-devel/regex-devel-0.12-1.tar.bz2 31233 25b7c2a51f7f7d652d27317b696f2bc7 source: x86_64/release/regex-devel/regex-devel-0.12-1-src.tar.bz2 979 f8f76c19667fb4303ed87c382eb76fa0
the entry in setup.ini is now there; but in comparison to the other packages the line
e.g.
install: x86_64/release/rbatch/r-batchfiles-r149-2.tar.bz2 XYZ
is missing.
anything else to do?
follow-up: 35 comment:34 by , 8 years ago
Replying to hellik:
Replying to hellik:
it seems now to be in setup.ini; anything else to do that it is promoted to be downloadable.
http://download.osgeo.org/osgeo4w/x86_64/setup.ini
@ qwt5-libs-qt4 sdesc: "Qt4 widgets library for technical applications (runtime)" ldesc: "Qt4 widgets library for technical applications (runtime)" category: Libs requires: shell qt4-libs version: 5.2.3-1 install: x86_64/release/qwt5/qwt5-libs-qt4/qwt5-libs-qt4-5.2.3-1.tar.bz2 261328 4a732090f019931026aa4fe478670ebd source: x86_64/release/qwt5/qwt5-libs-qt4/qwt5-libs-qt4-5.2.3-1-src.tar.bz2 3211 5259de566c37bf132c7a60783af575cf @ rbatch sdesc: "Windows batchfiles for use with R" ldesc: "Windows batchfiles for use with R" category: Libs Commandline_Utilities version: r149 @ regex-devel sdesc: "XDR library (Development)" ldesc: "XDR library (Development)" category: Libs version: 0.12-1 install: x86_64/release/regex-devel/regex-devel-0.12-1.tar.bz2 31233 25b7c2a51f7f7d652d27317b696f2bc7 source: x86_64/release/regex-devel/regex-devel-0.12-1-src.tar.bz2 979 f8f76c19667fb4303ed87c382eb76fa0the entry in setup.ini is now there; but in comparison to the other packages the line
e.g.
install: x86_64/release/rbatch/r-batchfiles-r149-2.tar.bz2 XYZis missing.
anything else to do?
just rerun osgeo4w-regen.sh
error: x86/release/rbatch/setup.hint:5: can't open x86/release/rbatch/rbatch-r149.tar.bz2 - No such file or directory warning: package rbatch is missing a requires field
error: x86_64/release/rbatch/setup.hint:5: can't open x86_64/release/rbatch/rbatch-r149.tar.bz2 - No such file or directory warning: package rbatch is missing a requires field
it's looking for the wrong tar.bz2, as it is r-batchfiles-r149-2.tar.bz2 and not rbatch-r149.tar.bz2.
any hints?
follow-up: 36 comment:35 by , 8 years ago
Replying to hellik:
error: x86/release/rbatch/setup.hint:5: can't open x86/release/rbatch/rbatch-r149.tar.bz2 - No such file or directory warning: package rbatch is missing a requires fielderror: x86_64/release/rbatch/setup.hint:5: can't open x86_64/release/rbatch/rbatch-r149.tar.bz2 - No such file or directory warning: package rbatch is missing a requires fieldit's looking for the wrong tar.bz2, as it is r-batchfiles-r149-2.tar.bz2 and not rbatch-r149.tar.bz2.
any hints?
ok, error and warning solved.
tested to download, it installs in:
C:\OSGeo4W64\r-batchfiles
instead of
C:\OSGeo4W64\apps\r-batchfiles
any ideas?
comment:36 by , 8 years ago
Replying to hellik:
C:\OSGeo4W64\r-batchfilesinstead of
C:\OSGeo4W64\apps\r-batchfilesany ideas?
finally I've got it (hopefully) right now. :-)
comment:37 by , 4 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |

Replying to hellik:
some more information see also
[GRASS-user] winGRASS 7 - R - integration - standalone/OSGeo4W - NEWS http://lists.osgeo.org/pipermail/grass-user/2014-April/070136.html
functionality would be
R cd - cd to R_ROOT, typically to C:\Program Files\R (0) R cmd - Run Rcmd.exe R dir - List contents of R_ROOT in chronological order showing R versions (0) R gui - Run Rgui.exe R help - Help info (0) R path - Add R_TOOLS, R_MIKTEX & R_PATH to path for this cmd line session (0) R Run R.exe (0) R script - Run Rscript.exe R show - Show R_ variable values used. R_PATH, etc. (0) R SetReg - Run RSetReg; see 2.17 in R FAQ for Windows (A) R tools - Add R_TOOLS and R_MIKTEX to path for this cmd line session (0) R touch - Change date on R_HOME to now (0) (A)Helmut