Re: [Rd] capture error messages from loading shared objects

2023-11-28 Thread Adrian Dusa
Once again, Ivan, many thanks. Yes, that does solve it. Best wishes, Adrian On Tue, Nov 28, 2023 at 11:28 AM Ivan Krylov wrote: > В Tue, 28 Nov 2023 10:46:45 +0100 > Adrian Dusa пишет: > > > tryCatch(requireNamespace("foobar"), error = function(e) e) > >

[Rd] capture error messages from loading shared objects

2023-11-28 Thread Adrian Dusa
Fellow R developers, I can capture usual error message using the normal way: > tc <- tryCatch(1 + a, error = function(e) e) > tc However I have troubles capturing the error message from this type of error: > tc <- tryCatch(requireNamespace("foobar"), error = function(e) e) Loading required

[Rd] NA vs. NA

2012-04-05 Thread Adrian Dusa
changes the country code, but I wonder if there's any (other) solution to circumvent this issue. Thanks very much in advance, Adrian -- Adrian Dusa Romanian Social Data Archive 1, Schitu Magureanu Bd. 050025 Bucharest sector 5 Romania Tel.:+40 21 3126618 \        +40 21 3120210 / int.101 Fax: +40 21

Re: [Rd] NA vs. NA

2012-04-05 Thread Adrian Dusa
Hi Ted, On Thu, Apr 5, 2012 at 14:22, Ted Harding ted.hard...@wlandres.net wrote: On 05-Apr-2012 11:03:15 Adrian Dusa wrote: [...] Hi Adrian, The default in read.table() for the na.strings parameter is  na.strings = NA So, provided you have no NA in the data portion of your file (or e.g

Re: [Rd] NA vs. NA

2012-04-05 Thread Adrian Dusa
On Thu, Apr 5, 2012 at 14:49, Duncan Murdoch murdoch.dun...@gmail.com wrote: On 12-04-05 7:27 AM, Adrian Dusa wrote: [...] You still haven't explained what you are doing to cause the problem, so I'll guess that you have this file in your data directory of the package, in tab-delimited form

Re: [Rd] library path in Rd link

2007-11-15 Thread Adrian Dusa
you very much, Adrian -- Adrian Dusa Romanian Social Data Archive 1, Schitu Magureanu Bd 050025 Bucharest sector 5 Romania Tel./Fax: +40 21 3126618 \ +40 21 3120210 / int.101 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman

[Rd] library path in Rd link

2007-11-14 Thread Adrian Dusa
library folder, but into some other subfolder in my home, so the link searches for otherpackage in my home subfolder. Is there a method to create links to functions from the base package, for example (which is installed by default in the normal library folder)? Thank you, Adrian -- Adrian Dusa

Re: [Rd] library path in Rd link

2007-11-14 Thread Adrian Dusa
/ (your suggestion, I like it very much and it makes me a happy Linux user) - use help.start() which links all packages help in a tmp directory (Prof.Ripley's solution) Best regards, Adrian -- Adrian Dusa Romanian Social Data Archive 1, Schitu Magureanu Bd 050025 Bucharest sector 5 Romania Tel

Re: [Rd] library path in Rd link

2007-11-14 Thread Adrian Dusa
::help.start() to get it to run. Smooth :o) -- Adrian Dusa Romanian Social Data Archive 1, Schitu Magureanu Bd 050025 Bucharest sector 5 Romania Tel./Fax: +40 21 3126618 \ +40 21 3120210 / int.101 __ R-devel@r-project.org mailing list https

Re: [Rd] library path in Rd link

2007-11-14 Thread Adrian Dusa
in the .First() function from .Rprofile I tried using help.start() in .Rprofile, but it throws a (probably obvious) error: Error: could not find function help.start For my personal purposes, all questions have been answered though. Thank you very much, Adrian -- Adrian Dusa Romanian Social

[Rd] slow tcl/tk

2007-10-31 Thread Adrian Dusa
as well. Is there something changed about tcl/tk in R 2.6.0? Thanks in advance, Adrian -- Adrian Dusa University of Bucharest Faculty of Sociology and Social Work 9, Schitu Magureanu Bd. Bucharest sector 5 Romania Tel./Fax: +40 21 3126618 \ +40 21 3120210 / int.101